package com.zoo.diannaopeijian.domain;

import javax.persistence.*;

public class Component {
    @Id
    @Column(name = "comp_id")
    private Integer compId;

    @Column(name = "comp_name")
    private String compName;

    /**
     * @return comp_id
     */
    public Integer getCompId() {
        return compId;
    }

    /**
     * @param compId
     */
    public void setCompId(Integer compId) {
        this.compId = compId;
    }

    /**
     * @return comp_name
     */
    public String getCompName() {
        return compName;
    }

    /**
     * @param compName
     */
    public void setCompName(String compName) {
        this.compName = compName;
    }
}